object fmSearches: TfmSearches
  Left = 307
  Top = 93
  BorderStyle = bsDialog
  Caption = 'Search settings'
  ClientHeight = 703
  ClientWidth = 914
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poOwnerFormCenter
  OnClose = FormClose
  OnCreate = FormCreate
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 8
    Top = 4
    Width = 28
    Height = 13
    Caption = 'Name'
  end
  object Label2: TLabel
    Left = 8
    Top = 27
    Width = 129
    Height = 13
    Caption = 'Keywords (up to 350 chars)'
  end
  object dbtxtCategoryName: TDBText
    Left = 94
    Top = 128
    Width = 193
    Height = 33
    DataField = 'CategoryName'
    DataSource = dsSearches
    WordWrap = True
  end
  object lbl1: TLabel
    Left = 301
    Top = 192
    Width = 44
    Height = 13
    Caption = 'Condition'
  end
  object lbl2: TLabel
    Left = 303
    Top = 232
    Width = 42
    Height = 13
    Caption = 'Currency'
  end
  object lbl5: TLabel
    Left = 453
    Top = 22
    Width = 67
    Height = 13
    Caption = 'Exclude Seller'
  end
  object lbl6: TLabel
    Left = 301
    Top = 22
    Width = 26
    Height = 13
    Caption = 'Seller'
  end
  object lbl7: TLabel
    Left = 301
    Top = 304
    Width = 79
    Height = 13
    Alignment = taRightJustify
    Caption = 'Feedback Score'
    WordWrap = True
  end
  object lbl8: TLabel
    Left = 492
    Top = 280
    Width = 20
    Height = 13
    Caption = 'Max'
  end
  object lbl13: TLabel
    Left = 309
    Top = 528
    Width = 72
    Height = 13
    Caption = 'Max Distance *'
  end
  object lbl15: TLabel
    Left = 301
    Top = 328
    Width = 24
    Height = 13
    Caption = 'Price'
  end
  object lbl18: TLabel
    Left = 361
    Top = 358
    Width = 20
    Height = 13
    Caption = 'Bids'
  end
  object lbl19: TLabel
    Left = 391
    Top = 280
    Width = 17
    Height = 13
    Caption = 'Min'
  end
  object lbl20: TLabel
    Left = 342
    Top = 385
    Width = 39
    Height = 13
    Caption = 'Quantity'
  end
  object lbl21: TLabel
    Left = 301
    Top = 106
    Width = 80
    Height = 13
    Caption = 'Payment Method'
  end
  object lbl22: TLabel
    Left = 301
    Top = 147
    Width = 98
    Height = 13
    Caption = 'Seller Business Type'
  end
  object bvl2: TBevel
    Left = 293
    Top = 0
    Width = 9
    Height = 644
    Shape = bsLeftLine
  end
  object lbl23: TLabel
    Left = 296
    Top = 473
    Width = 87
    Height = 13
    Caption = 'Buyer Postal Code'
  end
  object lbl24: TLabel
    Left = 9
    Top = 109
    Width = 65
    Height = 13
    Caption = 'Global Site ID'
  end
  object lbl25: TLabel
    Left = 9
    Top = 128
    Width = 79
    Height = 13
    Caption = 'Primary Category'
  end
  object lbl26: TLabel
    Left = 311
    Top = 424
    Width = 71
    Height = 13
    Caption = 'End Time From'
  end
  object lbl9: TLabel
    Left = 321
    Top = 448
    Width = 61
    Height = 13
    Caption = 'End Time To'
  end
  object lbl3: TLabel
    Left = 9
    Top = 590
    Width = 55
    Height = 13
    Caption = 'Available to'
  end
  object lbl4: TLabel
    Left = 8
    Top = 614
    Width = 50
    Height = 13
    Caption = 'Located in'
  end
  object Label3: TLabel
    Left = 9
    Top = 638
    Width = 106
    Height = 13
    Caption = 'Sort the returned items'
  end
  object lbl10: TLabel
    Left = 301
    Top = 640
    Width = 92
    Height = 13
    Caption = '* - ebay motors only'
  end
  object lbl11: TLabel
    Left = 532
    Top = 421
    Width = 24
    Height = 13
    Caption = 'GMT'
  end
  object Label4: TLabel
    Left = 532
    Top = 443
    Width = 24
    Height = 13
    Caption = 'GMT'
  end
  object lbl12: TLabel
    Left = 308
    Top = 0
    Width = 289
    Height = 20
    Alignment = taCenter
    AutoSize = False
    Caption = 'Item filters'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object lbl14: TLabel
    Left = 617
    Top = 0
    Width = 289
    Height = 20
    Alignment = taCenter
    AutoSize = False
    Caption = 'Aspect filters'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object bvl1: TBevel
    Left = 605
    Top = 0
    Width = 9
    Height = 644
    Shape = bsLeftLine
  end
  object cxDBSpinEdit1: TcxDBSpinEdit
    Left = 494
    Top = 298
    DataBinding.DataField = 'FeedbackScoreMax'
    DataBinding.DataSource = dsSearches
    TabOrder = 0
    Width = 97
  end
  object cxDBSpinEdit2: TcxDBSpinEdit
    Left = 391
    Top = 298
    DataBinding.DataField = 'FeedbackScoreMin'
    DataBinding.DataSource = dsSearches
    TabOrder = 1
    Width = 97
  end
  object cxDBSpinEdit3: TcxDBSpinEdit
    Left = 492
    Top = 327
    DataBinding.DataField = 'MaxPrice'
    DataBinding.DataSource = dsSearches
    Properties.BeepOnError = True
    Properties.ClearKey = 46
    Properties.DisplayFormat = '0.00'
    Properties.EditFormat = '0.00'
    Properties.ValueType = vtFloat
    TabOrder = 2
    Width = 97
  end
  object cxDBSpinEdit4: TcxDBSpinEdit
    Left = 389
    Top = 327
    DataBinding.DataField = 'MinPrice'
    DataBinding.DataSource = dsSearches
    Properties.BeepOnError = True
    Properties.ClearKey = 46
    Properties.DisplayFormat = '0.00'
    Properties.EditFormat = '0.00'
    Properties.ValueType = vtFloat
    TabOrder = 3
    Width = 97
  end
  object cxDBSpinEdit5: TcxDBSpinEdit
    Left = 492
    Top = 355
    DataBinding.DataField = 'MaxBids'
    DataBinding.DataSource = dsSearches
    TabOrder = 4
    Width = 97
  end
  object cxDBSpinEdit6: TcxDBSpinEdit
    Left = 389
    Top = 355
    DataBinding.DataField = 'MinBids'
    DataBinding.DataSource = dsSearches
    TabOrder = 5
    Width = 97
  end
  object cxDBSpinEdit7: TcxDBSpinEdit
    Left = 492
    Top = 382
    DataBinding.DataField = 'MaxQuantity'
    DataBinding.DataSource = dsSearches
    TabOrder = 6
    Width = 97
  end
  object cxDBSpinEdit8: TcxDBSpinEdit
    Left = 389
    Top = 382
    DataBinding.DataField = 'MinQuantity'
    DataBinding.DataSource = dsSearches
    TabOrder = 7
    Width = 97
  end
  object cxDBComboBox1: TcxDBComboBox
    Left = 333
    Top = 327
    DataBinding.DataField = 'MinMaxPriceCurrency'
    DataBinding.DataSource = dsSearches
    TabOrder = 8
    Width = 50
  end
  object cxDBComboBox2: TcxDBComboBox
    Left = 301
    Top = 124
    DataBinding.DataField = 'PaymentMethod'
    DataBinding.DataSource = dsSearches
    Properties.Items.Strings = (
      'Any'
      'PayPal'
      'PaisaPay'
      'PaisaPayEMI')
    TabOrder = 9
    Width = 129
  end
  object cxDBComboBox3: TcxDBComboBox
    Left = 301
    Top = 165
    DataBinding.DataField = 'SellerBusinessType'
    DataBinding.DataSource = dsSearches
    Properties.Items.Strings = (
      'Any'
      'Business'
      'Private')
    TabOrder = 10
    Width = 129
  end
  object cxDBMemo1: TcxDBMemo
    Left = 301
    Top = 38
    DataBinding.DataField = 'Seller'
    DataBinding.DataSource = dsSearches
    TabOrder = 11
    Height = 62
    Width = 146
  end
  object cxDBMemo2: TcxDBMemo
    Left = 453
    Top = 38
    DataBinding.DataField = 'ExcludeSeller'
    DataBinding.DataSource = dsSearches
    TabOrder = 12
    Height = 60
    Width = 136
  end
  object cxDBTextEdit1: TcxDBTextEdit
    Left = 389
    Top = 470
    TabOrder = 13
    Width = 129
  end
  object cxDBComboBox4: TcxDBComboBox
    Left = 301
    Top = 208
    DataBinding.DataField = 'Condition'
    DataBinding.DataSource = dsSearches
    Properties.Items.Strings = (
      'Any'
      'New'
      'Used'
      'Unspecified')
    TabOrder = 14
    Width = 129
  end
  object cxDBComboBox5: TcxDBComboBox
    Left = 301
    Top = 248
    DataBinding.DataField = 'Currency'
    DataBinding.DataSource = dsSearches
    Properties.Items.Strings = (
      'Any')
    TabOrder = 15
    Width = 129
  end
  object cxDBCheckBox1: TcxDBCheckBox
    Left = 301
    Top = 552
    Caption = 'Exclude AutoPay'
    DataBinding.DataField = 'ExcludeAutoPay'
    DataBinding.DataSource = dsSearches
    TabOrder = 16
    Width = 121
  end
  object cxDBCheckBox2: TcxDBCheckBox
    Left = 301
    Top = 568
    Caption = 'Featured Only'
    DataBinding.DataField = 'FeaturedOnly'
    DataBinding.DataSource = dsSearches
    Enabled = False
    TabOrder = 17
    Width = 121
  end
  object cxDBCheckBox3: TcxDBCheckBox
    Left = 301
    Top = 584
    Caption = 'Free Shipping Only'
    DataBinding.DataField = 'FreeShippingOnly'
    DataBinding.DataSource = dsSearches
    Enabled = False
    TabOrder = 18
    Width = 121
  end
  object cxDBCheckBox4: TcxDBCheckBox
    Left = 301
    Top = 600
    Caption = 'GetIt Fast Only'
    DataBinding.DataField = 'GetItFastOnly'
    DataBinding.DataSource = dsSearches
    Enabled = False
    TabOrder = 19
    Width = 121
  end
  object cxDBCheckBox5: TcxDBCheckBox
    Left = 453
    Top = 600
    Caption = 'WorldOfGood Only'
    DataBinding.DataField = 'WorldOfGoodOnly'
    DataBinding.DataSource = dsSearches
    Enabled = False
    TabOrder = 20
    Width = 121
  end
  object cxDBCheckBox6: TcxDBCheckBox
    Left = 301
    Top = 616
    Caption = 'Hide DuplicateI tems'
    DataBinding.DataField = 'HideDuplicateItems'
    DataBinding.DataSource = dsSearches
    TabOrder = 21
    Width = 129
  end
  object cxDBCheckBox7: TcxDBCheckBox
    Left = 453
    Top = 552
    Caption = 'Local Pickup Only'
    DataBinding.DataField = 'LocalPickupOnly'
    DataBinding.DataSource = dsSearches
    Enabled = False
    TabOrder = 22
    Width = 121
  end
  object cxDBCheckBox8: TcxDBCheckBox
    Left = 453
    Top = 568
    Caption = 'Lots Only'
    DataBinding.DataField = 'LotsOnly'
    DataBinding.DataSource = dsSearches
    Enabled = False
    TabOrder = 23
    Width = 121
  end
  object cxDBCheckBox9: TcxDBCheckBox
    Left = 453
    Top = 584
    Caption = 'Top Rated Seller Only'
    DataBinding.DataField = 'TopRatedSellerOnly'
    DataBinding.DataSource = dsSearches
    Enabled = False
    TabOrder = 24
    Width = 137
  end
  object cxDBCheckBox10: TcxDBCheckBox
    Left = 389
    Top = 496
    Caption = 'Local Search Only *'
    DataBinding.DataField = 'LocalSearchOnly'
    DataBinding.DataSource = dsSearches
    TabOrder = 25
    Width = 121
  end
  object cxDBDateEdit1: TcxDBDateEdit
    Left = 389
    Top = 416
    DataBinding.DataField = 'EndTimeFrom'
    DataBinding.DataSource = dsSearches
    Properties.Kind = ckDateTime
    TabOrder = 26
    Width = 137
  end
  object cxDBDateEdit2: TcxDBDateEdit
    Left = 389
    Top = 440
    DataBinding.DataField = 'EndTimeTo'
    DataBinding.DataSource = dsSearches
    Properties.Kind = ckDateTime
    TabOrder = 27
    Width = 137
  end
  object cxDBSpinEdit9: TcxDBSpinEdit
    Left = 389
    Top = 520
    DataBinding.DataField = 'MaxDistance'
    DataBinding.DataSource = dsSearches
    Properties.MaxValue = 3000.000000000000000000
    TabOrder = 28
    Width = 177
  end
  object cxDBTextEdit2: TcxDBTextEdit
    Left = 9
    Top = 143
    DataBinding.DataField = 'CategoryID'
    DataBinding.DataSource = dsSearches
    TabOrder = 29
    Width = 79
  end
  object cxDBTextEdit3: TcxDBTextEdit
    Left = 42
    Top = 0
    DataBinding.DataField = 'name'
    DataBinding.DataSource = dsSearches
    TabOrder = 30
    Width = 175
  end
  object cxDBLookupComboBox1: TcxDBLookupComboBox
    Left = 86
    Top = 587
    DataBinding.DataField = 'AvailableTo'
    DataBinding.DataSource = dsSearches
    Properties.ClearKey = 46
    Properties.KeyFieldNames = 'Code'
    Properties.ListColumns = <
      item
        Width = 150
        FieldName = 'Name'
      end
      item
        Caption = 'code'
        Width = 50
        FieldName = 'Code'
      end>
    Properties.ListSource = dsCountries
    TabOrder = 31
    Width = 201
  end
  object cxDBLookupComboBox2: TcxDBLookupComboBox
    Left = 86
    Top = 611
    DataBinding.DataField = 'LocatedIn'
    DataBinding.DataSource = dsSearches
    Properties.ClearKey = 46
    Properties.KeyFieldNames = 'Code'
    Properties.ListColumns = <
      item
        Width = 150
        FieldName = 'Name'
      end
      item
        Caption = 'code'
        Width = 50
        FieldName = 'Code'
      end>
    Properties.ListSource = dsCountries
    TabOrder = 32
    Width = 201
  end
  object cxDBLookupComboBox3: TcxDBLookupComboBox
    Left = 80
    Top = 104
    DataBinding.DataField = 'GlobalSiteID'
    DataBinding.DataSource = dsSearches
    Properties.ClearKey = 46
    Properties.KeyFieldNames = 'GlobalSiteID'
    Properties.ListColumns = <
      item
        Width = 150
        FieldName = 'GlobalSiteID'
      end
      item
        FieldName = 'Comment'
      end
      item
        Caption = 'code'
        Width = 50
        FieldName = 'Version'
      end>
    Properties.ListSource = fmMain.dsActiveSites
    Properties.OnChange = cxDBLookupComboBox3PropertiesChange
    TabOrder = 33
    Width = 207
  end
  object cxDBCheckGroup1: TcxDBCheckGroup
    Left = 437
    Top = 104
    Caption = 'Listing type'
    Properties.ClearKey = 46
    Properties.EditValueFormat = cvfCaptions
    Properties.Items = <
      item
      end>
    Properties.OnChange = cxDBCheckGroup1PropertiesChange
    TabOrder = 34
    DataBinding.DataField = 'ListingType'
    DataBinding.DataSource = dsSearches
    Height = 169
    Width = 153
  end
  object cbb1: TcxDBComboBox
    Left = 126
    Top = 635
    DataBinding.DataField = 'SortOrder'
    DataBinding.DataSource = dsSearches
    Properties.Items.Strings = (
      'BestMatch'
      'CurrentPriceHighest'
      'DistanceNearest'
      'EndTimeSoonest'
      'PricePlusShippingHighest'
      'PricePlusShippingLowest'
      'StartTimeNewest')
    TabOrder = 35
    Width = 161
  end
  object cxDBMemo3: TcxDBMemo
    Left = 8
    Top = 46
    DataBinding.DataField = 'keywords'
    DataBinding.DataSource = dsSearches
    Properties.MaxLength = 350
    TabOrder = 36
    OnKeyPress = cxDBMemo3KeyPress
    Height = 50
    Width = 279
  end
  object cxdbchckbx1: TcxDBCheckBox
    Left = 8
    Top = 565
    Caption = 'Auto expand non leaf categories'
    DataBinding.DataField = 'AutoExpandLeafCategories'
    DataBinding.DataSource = dsSearches
    TabOrder = 37
    Width = 279
  end
  object cxdbchckbx2: TcxDBCheckBox
    Left = 8
    Top = 545
    Caption = 'Description search'
    DataBinding.DataField = 'DescriptionSearch'
    DataBinding.DataSource = dsSearches
    TabOrder = 38
    Width = 121
  end
  object btn1: TButton
    Left = 709
    Top = 24
    Width = 89
    Height = 25
    Caption = 'Refresh filters'
    TabOrder = 39
    OnClick = btn1Click
  end
  object cxGrid1: TcxGrid
    Left = 617
    Top = 55
    Width = 289
    Height = 394
    TabOrder = 40
    object cxGrid1TableView1: TcxGridTableView
      NavigatorButtons.ConfirmDelete = False
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
    end
    object cxgrdbtblvwGrid1DBTableView1: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      DataController.DataModeController.SmartRefresh = True
      DataController.DataSource = dsaspects
      DataController.DetailKeyFieldNames = 'id'
      DataController.KeyFieldNames = 'id'
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsData.Deleting = False
      OptionsData.DeletingConfirmation = False
      OptionsData.Editing = False
      OptionsData.Inserting = False
      OptionsView.GroupByBox = False
      OptionsView.Header = False
      object cxgrdbclmnGrid1DBTableView1aspect: TcxGridDBColumn
        DataBinding.FieldName = 'aspect'
        Width = 250
      end
    end
    object cxgrdbtblvwGrid1DBTableView2: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      DataController.DataModeController.SmartRefresh = True
      DataController.DataSource = dsaspectvalues
      DataController.DetailKeyFieldNames = 'aspectid'
      DataController.KeyFieldNames = 'id'
      DataController.MasterKeyFieldNames = 'id'
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsData.Deleting = False
      OptionsData.DeletingConfirmation = False
      OptionsData.Inserting = False
      OptionsView.GroupByBox = False
      object cxgrdbclmnGrid1DBTableView2aspectvalname: TcxGridDBColumn
        DataBinding.FieldName = 'aspectvalname'
        Options.Editing = False
        Width = 150
      end
      object cxgrdbclmnGrid1DBTableView2selected: TcxGridDBColumn
        DataBinding.FieldName = 'selected'
        PropertiesClassName = 'TcxCheckBoxProperties'
      end
      object cxgrdbclmnGrid1DBTableView2count: TcxGridDBColumn
        DataBinding.FieldName = 'count'
        Options.Editing = False
      end
    end
    object cxGrid1Level1: TcxGridLevel
      GridView = cxgrdbtblvwGrid1DBTableView1
      object cxgrdlvlGrid1Level2: TcxGridLevel
        GridView = cxgrdbtblvwGrid1DBTableView2
      end
    end
  end
  object cxDBCheckBox11: TcxDBCheckBox
    Left = 229
    Top = 0
    Caption = 'Active'
    DataBinding.DataField = 'enabled'
    DataBinding.DataSource = dsSearches
    TabOrder = 42
    Width = 66
  end
  object pnl1: TPanel
    Left = 0
    Top = 662
    Width = 914
    Height = 41
    Align = alBottom
    BevelInner = bvLowered
    TabOrder = 41
    object btn2: TButton
      Left = 351
      Top = 8
      Width = 110
      Height = 25
      Caption = 'Save'
      ModalResult = 1
      TabOrder = 0
      OnClick = btn2Click
    end
    object btn3: TButton
      Left = 479
      Top = 8
      Width = 110
      Height = 25
      Caption = 'Cancel'
      ModalResult = 2
      TabOrder = 1
      OnClick = btn3Click
    end
  end
  object cxDBTreeList1: TcxDBTreeList
    Left = 8
    Top = 168
    Width = 279
    Height = 353
    Bands = <
      item
      end>
    DataController.DataSource = dsCategories
    DataController.ImageIndexField = 'ileaf'
    DataController.ParentField = 'CategoryParentID'
    DataController.KeyField = 'CategoryID'
    Images = il1
    OptionsData.Editing = False
    OptionsData.Deleting = False
    RootValue = -1
    TabOrder = 43
    OnDblClick = tv1DblClick
    object cxDBTreeList1cxDBTreeListColumn1: TcxDBTreeListColumn
      PropertiesClassName = 'TcxLabelProperties'
      Properties.WordWrap = True
      Caption.AlignHorz = taCenter
      Caption.Text = 'Name'
      DataBinding.FieldName = 'CategoryName'
      Options.Editing = False
      Width = 200
      Position.ColIndex = 0
      Position.RowIndex = 0
      Position.BandIndex = 0
      Summary.FooterSummaryItems = <>
      Summary.GroupFooterSummaryItems = <>
    end
    object cxDBTreeList1cxDBTreeListColumn2: TcxDBTreeListColumn
      Caption.AlignHorz = taCenter
      Caption.Text = 'ID'
      DataBinding.FieldName = 'CategoryID'
      Options.Editing = False
      Width = 60
      Position.ColIndex = 1
      Position.RowIndex = 0
      Position.BandIndex = 0
      Summary.FooterSummaryItems = <>
      Summary.GroupFooterSummaryItems = <>
    end
  end
  object pnl2: TPanel
    Left = 616
    Top = 608
    Width = 289
    Height = 49
    BevelInner = bvLowered
    TabOrder = 44
    object lbl17: TLabel
      Left = 16
      Top = 16
      Width = 59
      Height = 13
      Caption = 'Total Entries'
    end
    object lbl27: TLabel
      Left = 104
      Top = 16
      Width = 3
      Height = 13
    end
  end
  object dsSearches: TDataSource
    DataSet = tblSearches
    Left = 781
    Top = 208
  end
  object il1: TImageList
    Left = 709
    Top = 312
    Bitmap = {
      494C010102000400040010001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
      0000000000003600000028000000400000001000000001002000000000000010
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000F718FF00E742
      FF00E742FF00E742FF00E742FF00E742FF00E742FF00E742FF00E742FF00E742
      FF00E742FF00E742FF00EF21FF00000000000000000000000000949494009494
      9400949494009494940094949400949494009494940094949400949494009494
      9400949494009494940000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000DE00E700296BD600297B
      D600005ACE00005ACE00005ACE00005ACE00005ACE00005ACE00005ACE00005A
      CE00005ACE002973D6006394DE0000000000000000000000000094949400FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
      FF00FFFFFF009494940000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000004A63DE00317BD600005ACE00ADEF
      FF00B5EFFF00B5EFFF00B5EFFF00B5EFFF00B5EFFF00B5EFFF00B5EFFF00B5EF
      FF00B5EFFF00ADEFFF00186BCE0000000000000000000000000094949400FFFF
      FF00EFEFEF00EFEFEF00EFEFEF00EFEFEF00EFEFEF00EFEFEF00EFEFEF00EFEF
      EF00FFFFFF009494940000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000005ACE00ADEFFF00005ACE00B5EF
      FF0084DEFF007BD6FF0073D6FF006BD6FF006BCEFF0063CEFF005ACEFF005AC6
      FF005AC6FF00B5EFFF00005ACE0000000000000000000000000094949400FFFF
      FF00F7F7F700F7F7F700EFEFEF00EFEFEF00EFEFEF00EFEFEF00EFEFEF00EFEF
      EF00FFFFFF009494940000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000005ACE00B5EFFF00005ACE00B5EF
      FF008CDEFF0084DEFF007BDEFF0073D6FF0073D6FF006BCEFF0063CEFF005ACE
      FF005AC6FF00B5EFFF00005ACE0000000000000000000000000094949400FFFF
      FF00F7F7F700F7F7F700F7F7F700F7F7F700EFEFEF00EFEFEF00EFEFEF00EFEF
      EF00FFFFFF009494940000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000005ACE00B5EFFF00005ACE00B5EF
      FF0094E7FF008CDEFF0084DEFF0084DEFF007BD6FF0073D6FF006BD6FF0063CE
      FF0063CEFF00B5EFFF00005ACE0000000000000000000000000094949400FFFF
      FF00F7F7F700F7F7F700F7F7F700F7F7F700F7F7F700F7F7F700EFEFEF00EFEF
      EF00FFFFFF009494940000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000005ACE00B5EFFF00005ACE00B5EF
      FF009CE7FF0094E7FF008CE7FF008CDEFF0084DEFF007BD6FF0073D6FF006BD6
      FF006BCEFF00B5EFFF00005ACE0000000000000000000000000094949400FFFF
      FF00F7F7F700F7F7F700F7F7F700F7F7F700F7F7F700F7F7F700F7F7F700F7F7
      F700FFFFFF009494940000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000005ACE00B5EFFF00106BCE00B5EF
      FF00A5EFFF009CEFFF0094E7FF0094E7FF008CDEFF0084DEFF007BDEFF0073D6
      FF0073D6FF00B5EFFF00005ACE0000000000000000000000000094949400FFFF
      FF00FFFFFF00F7F7F700F7F7F700F7F7F700F7F7F700F7F7F700F7F7F700F7F7
      F700FFFFFF009494940000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000005ACE00B5EFFF000863D600005A
      CE00005ACE00005ACE00005ACE000863CE004AA5E7008CDEFF0084DEFF0084DE
      FF007BD6FF00A5EFFF00106BCE0000000000000000000000000094949400FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00F7F7F700F7F7F700F7F7F700F7F7F700F7F7
      F700F7F7F7009494940000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000005ACE00B5EFFF0052C6FF0052C6
      FF0052C6FF0052C6FF0052C6FF0052C6FF000863CE001873D600005ACE00005A
      CE00005ACE00005ACE002173D60000000000000000000000000094949400FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0094949400949494009494
      9400949494009494940000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000005ACE00B5EFFF005AC6FF005AC6
      FF005AC6FF005AC6FF005ACEFF006BCEFF005ABDF70052B5F70052B5F70052B5
      F7007BC6F7002952BD00DE00E70000000000000000000000000094949400FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0094949400E7E7E700E7E7
      E700B5B5B5009494940000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000005ACE00B5EFFF005AC6FF005AC6
      FF005AC6FF005AC6FF0042A5EF002163D600005ACE00005ACE00005ACE00005A
      CE00005ACE002142B5000000000000000000000000000000000094949400FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0094949400E7E7E700B5B5
      B500949494000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000004A63DE00A5E7FF007BCEF7007BCE
      F7007BCEF7007BCEF7001873D600000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000094949400FFFF
      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0094949400B5B5B5009494
      9400000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000FF00FF004A63DE00005ACE00005A
      CE00005ACE00005ACE004A5ADE00000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000949494009494
      9400949494009494940094949400949494009494940094949400949494000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000424D3E000000000000003E000000
      2800000040000000100000000100010000000000800000000000000000000000
      000000000000000000000000FFFFFF00FFFFFFFF00000000C001C00300000000
      8001C003000000000001C003000000000001C003000000000001C00300000000
      0001C003000000000001C003000000000001C003000000000001C00300000000
      0001C003000000000001C003000000000003C0070000000001FFC00F00000000
      01FFC01F00000000FFFFFFFF0000000000000000000000000000000000000000
      000000000000}
  end
  object dsCountries: TDataSource
    DataSet = tblCountries
    Left = 845
    Top = 208
  end
  object dsCategories: TDataSource
    DataSet = qryCategories
    Left = 645
    Top = 320
  end
  object dsaspects: TDataSource
    DataSet = tblaspects
    Left = 717
    Top = 208
  end
  object dsaspectvalues: TDataSource
    DataSet = tblaspectvalues
    Left = 645
    Top = 208
  end
  object tblaspectvalues: TnxTable
    TableName = 'aspectvalues'
    IndexFieldNames = 'aspectid'
    Left = 637
    Top = 144
    object IntegerField1: TIntegerField
      FieldName = 'aspectid'
    end
    object StringField1: TStringField
      FieldName = 'aspectvalname'
      Size = 100
    end
    object IntegerField2: TIntegerField
      FieldName = 'count'
    end
    object tblaspectvaluesselected: TBooleanField
      FieldName = 'selected'
    end
    object tblaspectvaluesid: TAutoIncField
      FieldName = 'id'
    end
  end
  object tblaspects: TnxTable
    TableName = 'aspectstable'
    IndexFieldNames = 'searchid'
    MasterFields = 'id'
    MasterSource = dsSearches
    Left = 717
    Top = 144
    object IntegerField3: TIntegerField
      FieldName = 'searchid'
      Required = True
    end
    object StringField2: TStringField
      FieldName = 'aspect'
      Required = True
      Size = 100
    end
    object tblaspectsid: TAutoIncField
      FieldName = 'id'
    end
  end
  object tblSearches: TnxTable
    Database = fmMain.nxdtbs1
    AfterInsert = tblSearchesAfterInsert
    TableName = 'searches'
    IndexFieldNames = 'id'
    MasterFields = 'id'
    MasterSource = fmMain.dsAllSeraches
    Left = 781
    Top = 152
    object tblSearchesenabled: TBooleanField
      FieldName = 'enabled'
    end
    object tblSearchesname: TStringField
      FieldName = 'name'
      Size = 50
    end
    object tblSearcheskeywords: TStringField
      FieldName = 'keywords'
      Size = 350
    end
    object tblSearchesDescriptionSearch: TBooleanField
      FieldName = 'DescriptionSearch'
    end
    object tblSearchesCategoryID: TStringField
      FieldName = 'CategoryID'
    end
    object tblSearchesCategoryName: TStringField
      FieldName = 'CategoryName'
      Size = 100
    end
    object tblSearchesAvailableTo: TStringField
      FieldName = 'AvailableTo'
      Size = 2
    end
    object tblSearchesCondition: TStringField
      FieldName = 'Condition'
      Size = 15
    end
    object tblSearchesCurrency: TStringField
      FieldName = 'Currency'
      Size = 3
    end
    object tblSearchesEndTimeFrom: TDateTimeField
      FieldName = 'EndTimeFrom'
    end
    object tblSearchesEndTimeTo: TDateTimeField
      FieldName = 'EndTimeTo'
    end
    object tblSearchesExcludeAutoPay: TBooleanField
      FieldName = 'ExcludeAutoPay'
    end
    object tblSearchesExcludeSeller: TStringField
      FieldName = 'ExcludeSeller'
      Size = 255
    end
    object tblSearchesFeaturedOnly: TBooleanField
      FieldName = 'FeaturedOnly'
    end
    object tblSearchesFeedbackScoreMax: TIntegerField
      FieldName = 'FeedbackScoreMax'
    end
    object tblSearchesFeedbackScoreMin: TIntegerField
      FieldName = 'FeedbackScoreMin'
    end
    object tblSearchesFreeShippingOnly: TBooleanField
      FieldName = 'FreeShippingOnly'
    end
    object tblSearchesGetItFastOnly: TBooleanField
      FieldName = 'GetItFastOnly'
    end
    object tblSearchesHideDuplicateItems: TBooleanField
      FieldName = 'HideDuplicateItems'
    end
    object tblSearchesListingType: TStringField
      FieldName = 'ListingType'
      Size = 255
    end
    object tblSearchesLocalPickupOnly: TBooleanField
      FieldName = 'LocalPickupOnly'
    end
    object tblSearchesLocalSearchOnly: TBooleanField
      FieldName = 'LocalSearchOnly'
    end
    object tblSearchesLocatedIn: TStringField
      FieldName = 'LocatedIn'
      Size = 2
    end
    object tblSearchesLotsOnly: TBooleanField
      FieldName = 'LotsOnly'
    end
    object tblSearchesMaxBids: TIntegerField
      FieldName = 'MaxBids'
    end
    object tblSearchesMaxDistance: TIntegerField
      FieldName = 'MaxDistance'
    end
    object tblSearchesMaxPrice: TFloatField
      FieldName = 'MaxPrice'
    end
    object tblSearchesMaxQuantity: TIntegerField
      FieldName = 'MaxQuantity'
    end
    object tblSearchesMinBids: TIntegerField
      FieldName = 'MinBids'
    end
    object tblSearchesMinPrice: TFloatField
      FieldName = 'MinPrice'
    end
    object tblSearchesMinMaxPriceCurrency: TStringField
      FieldName = 'MinMaxPriceCurrency'
      Size = 3
    end
    object tblSearchesMinQuantity: TIntegerField
      FieldName = 'MinQuantity'
    end
    object tblSearchesPaymentMethod: TStringField
      FieldName = 'PaymentMethod'
      Size = 50
    end
    object tblSearchesSeller: TStringField
      FieldName = 'Seller'
      Size = 255
    end
    object tblSearchesSellerBusinessType: TStringField
      FieldName = 'SellerBusinessType'
      Size = 50
    end
    object tblSearchesTopRatedSellerOnly: TBooleanField
      FieldName = 'TopRatedSellerOnly'
    end
    object tblSearchesWorldOfGoodOnly: TBooleanField
      FieldName = 'WorldOfGoodOnly'
    end
    object tblSearchesBuyerPostalCode: TStringField
      FieldName = 'BuyerPostalCode'
    end
    object tblSearchesGlobalSiteID: TStringField
      FieldName = 'GlobalSiteID'
    end
    object tblSearchesSortOrder: TStringField
      FieldName = 'SortOrder'
      Size = 50
    end
    object tblSearchesApiCallsUsedToday: TIntegerField
      FieldName = 'ApiCallsUsedToday'
    end
    object tblSearchesSearchPeriod: TIntegerField
      FieldName = 'SearchPeriod'
    end
    object tblSearchesLastSearchStarted: TDateTimeField
      FieldName = 'LastSearchStarted'
    end
    object tblSearchesAutoExpandLeafCategories: TBooleanField
      FieldName = 'AutoExpandLeafCategories'
    end
    object tblSearchesid: TAutoIncField
      FieldName = 'id'
    end
  end
  object tblCountries: TnxTable
    TableName = 'Countries'
    Left = 845
    Top = 152
    object tblCountriesName: TStringField
      FieldName = 'Name'
      Size = 255
    end
    object tblCountriesCode: TStringField
      FieldName = 'Code'
      Size = 255
    end
    object tblCountriesid: TAutoIncField
      FieldName = 'id'
    end
  end
  object qryCategories: TnxQuery
    AfterOpen = qryCategoriesAfterOpen
    OnCalcFields = qryCategoriesCalcFields
    ReadOnly = True
    SQL.Strings = (
      
        'SELECT CategoryID, CategoryLevel, CategoryName, CategoryParentID' +
        ',  LeafCategory, GlobalSiteID'
      'FROM  "Categories"'
      'where GlobalSiteID = :GlobalSiteID '
      'order by CategoryParentID , CategoryName')
    Left = 645
    Top = 272
    ParamData = <
      item
        DataType = ftString
        Name = 'GlobalSiteID'
        ParamType = ptInput
      end>
    object qryCategoriesChildrens: TIntegerField
      FieldKind = fkCalculated
      FieldName = 'Childrens'
      Calculated = True
    end
    object qryCategoriesCategoryName: TStringField
      FieldName = 'CategoryName'
      Size = 100
    end
    object qryCategoriesLeafCategory: TBooleanField
      FieldName = 'LeafCategory'
    end
    object qryCategoriesCategoryID: TIntegerField
      FieldName = 'CategoryID'
    end
    object qryCategoriesCategoryParentID: TIntegerField
      FieldName = 'CategoryParentID'
    end
    object qryCategoriesCategoryLevel: TIntegerField
      FieldName = 'CategoryLevel'
    end
    object qryCategoriesileaf: TSmallintField
      FieldKind = fkCalculated
      FieldName = 'ileaf'
      Calculated = True
    end
    object qryCategoriesGlobalSiteID: TStringField
      FieldName = 'GlobalSiteID'
    end
  end
end
